<div>
    <div class="row" v-if="communityInfo.showPage == 'myCommunity'">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <span><vc:i18n name="我的小区" namespace="enterCommunity"></vc:i18n></span>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_showHcUse()">
                            <i class="fa fa-plus"></i>
                            <span><vc:i18n name="商用流程" namespace="enterCommunity"></vc:i18n></span>
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th data-hide="phone" class="text-center">
                                <span><vc:i18n name="省份" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <span><vc:i18n name="市/州" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th data-hide="phone" width="150px" class="text-center">
                                <span><vc:i18n name="区/县" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th data-hide="phone" width="200px" class="text-center">
                                <span><vc:i18n name="小区名称" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <!-- <th data-hide="phone">
                                   <span><vc:i18n name="小区地址" namespace="enterCommunity"></vc:i18n></span>
                                 </th> -->
                            <th class="text-center">
                                <span><vc:i18n name="小区编码" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <span><vc:i18n name="客服电话" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <span><vc:i18n name="面积" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <span><vc:i18n name="开始时间" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th data-hide="phone" class="text-center">
                                <span><vc:i18n name="结束时间" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <!-- <th data-hide="phone,tablet" >
                                   <span><vc:i18n name="城市编码" namespace="enterCommunity"></vc:i18n></span>
                                 </th> -->
                            <th data-hide="phone" class="text-center">
                                <span><vc:i18n name="状态" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="操作" namespace="enterCommunity"></vc:i18n></span>
                            </th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="community in communityInfo.enterCommunityInfo">
                            <td class="text-center">
                                {{community.provName}}
                            </td>
                            <td class="text-center">
                                {{community.cityName}}
                            </td>
                            <td class="text-center">
                                {{community.areaName}}
                            </td>
                            <td class="text-center">
                                {{community.name}}
                            </td>
                            <!-- <td>
                            {{community.address}}
                             </td> -->
                            <td class="text-center">
                                {{community.communityId}}
                            </td>
                            <td class="text-center">
                                {{community.tel}}
                            </td>
                            <td class="text-center">
                                {{community.communityArea}}
                            </td>
                            <td class="text-center">
                                {{community.startTime}}
                            </td>
                            <td class="text-center">
                                {{community.endTime}}
                            </td>
                            <!-- <td>
                            {{community.nearbyLandmarks}}
                             </td> -->
                            <!-- <td>
                            {{community.cityCode}}
                             </td> -->
                            <td class="text-center">
                                {{_showCommunityStatus(community.auditStatusCd)}}
                            </td>
                            <td class="text-center">
                                <div class="btn-group" v-if="community.auditStatusCd == '1100' ">
                                    <button class="btn-white btn btn-xs"
                                            v-on:click="_openUpdateCommunityModel(community)">
                                        <span><vc:i18n name="修改" namespace="enterCommunity"></vc:i18n></span>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="11">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="row" v-else>
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <span><vc:i18n name="商用流程" namespace="enterCommunity"></vc:i18n></span>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">
                            <i class="fa fa-close"></i>返回
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="text-center padding-bottom">
                        <img src="/img/hc_use.png"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="common/editCommunityArea"></vc:create>
</div>
